# -*- coding: utf-8 -*-
# webfolio.urls
# 

from werkzeug.routing import (
  EndpointPrefix, Submount
)

from kay.routing import (
  ViewGroup, Rule
)

view_groups = [
  ViewGroup(
    Rule('/', endpoint='index', view='webfolio.views.index'),
    Rule('/img', endpoint='img', view='webfolio.views.photoImage'),
    Rule('/addcard', endpoint='addcard', view='webfolio.view_card.card_add'),
    Rule('/editcard', endpoint='editcard', view='webfolio.view_card.card_edit'),
    Rule('/addpf', endpoint='addpf', view='webfolio.view_portfolio.portfolio_add'),
    Rule('/editpf', endpoint='editpf', view='webfolio.view_portfolio.portfolio_edit'),
  )
]

